package com.system.service.UserService;

import com.system.pojo.User;

import java.sql.Connection;
import java.sql.SQLException;

public interface UserService {
    public User Login( String UserCode, String UserPsw) throws SQLException;

    public int Register(String UserCode, String UserPsw, int UserLossNub, int UserGetNub, String UserImgPath) throws SQLException;

    public boolean IfRepetition(String UserCode) throws SQLException;

    //修改密码
    public int UpdatePsw(String updatePsw,int UserId) throws SQLException;
}
